<div id="border">   
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
     <tr>
     <td valign="top">       
        <table width="705" border="0" align="center" id="usertitle">
          <tr>
            <td><h3 style=""><?=$Z_TRANS->value('title_registration')?></h3></td>
            <td align="right"><img src="<?=base_url();?>images/Secure_connection.gif" alt="" width="116" height="22" /></td>
          </tr>
        </table>
  <div id="register">
	<div class="user_line_border_top">&nbsp;</div>
    	<?php if(isset($message_errors) && $message_errors!=""){?><div class="error_message" style="color:#BD2031; line-height:18px;"><?=$message_errors;?></div><? }?>
      <form action="<?=site_url("users/gosignup")?>" method="post" name="Frmsignup" id="Frmsignup">
          <table width="92%" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td align="right" class="ttd"><br />
                <?=$Z_TRANS->value('title_email')?>:<span class="require">&nbsp;</span></td>
              <td class="ttd"><br />
              	<input name="txtEmail" type="text" class="textbox" id="txtEmail" value="<?php if(isset($_POST['txtEmail']))echo set_value('txtEmail'); ?>" />
              </td>
            </tr>
             <tr>
              <td align="right" class="ttd"><?=$Z_TRANS->value('title_login')?>:<span class="require">*</span></td>
              <td class="ttd">
              <input name="txtUser" type="text" class="textbox" id="txtUser" value="<?php if(isset($_POST['txtUser']))echo set_value('txtUser'); ?>" />
              <span style="color:#BD2031"></span>
              </td>
            </tr>
            <tr>
              <td align="right" class="ttd" valign="top"><?=$Z_TRANS->value('title_password')?>:<span class="require">*</span></td>
              <td class="ttd">
              	<input name="txtPwd" type="password" class="textbox" id="txtPwd" value="" />
                <div style="width:220px; font-size:10px; color:#555; float:right;"><?=$Z_TRANS->value('use_letters_and_numbers')?></div>
              </td>
            </tr>
            <tr>
              <td align="right" class="ttd"><?=$Z_TRANS->value('title_verified_password')?>:<span class="require">*</span></td>
              <td class="ttd"><input name="txtVpwd" type="password" class="textbox" id="txtVpwd" value="" /></td>
            </tr>

             <tr>
              <td align="right" class="ttd"><?=$Z_TRANS->value('title_first_name')?>:</td>
              <td class="ttd"><input name="txtFrist" type="text" class="textbox" id="txtFrist"  value="<?php if(isset($_POST['txtFrist']))echo set_value('txtFrist'); ?>" /></td>
            </tr>
            <tr>
              <td align="right" class="ttd"><?=$Z_TRANS->value('title_last_name')?>:</td>
              <td class="ttd"><input name="txtLast" type="text" class="textbox" id="txtLast"  value="<?php if(isset($_POST['txtLast']))echo set_value('txtLast'); ?>" /></td>
            </tr>
            <tr>
              <td align="right" class="ttd"><?=$Z_TRANS->value('title_phone')?>:<span class="require">*</span></td>
              <td class="ttd"><input name="txtTel" type="text" class="textbox" id="txtTel" value="<?php if(isset($_POST['txtTel']))echo set_value('txtTel'); ?>" /></td>
            </tr>
            <tr>
              <td align="right" class="ttd"><?=$Z_TRANS->value('title_locations')?>:<span class="require">*</span></td>
              <td class="ttd">
              
              	<select name="cb_city" size="0" class="textbox" mosReq="0" mosLabel="City/Provinces"> 
                    <option value=""> </option> 
                    <?php foreach($getCityProvince->result() as $rowCity):?>
                    	<? if(isset($_POST['cb_city']) && $rowCity->city_id==set_value('cb_city')){?><option value="<?=$rowCity->city_id;?>" selected="selected"><?=$rowCity->city_name;?></option>
                        <? }else?><option value="<?=$rowCity->city_id;?>"><?=$rowCity->city_name;?></option>
                    <?php endforeach;?> 
                </select>
              </td>
            </tr>
            
            <tr>
              <td align="right" class="ttd"></td>
              <td><br /><?=$Z_TRANS->value('Enter_a_question_and_answer')?></td>
            </tr>
            
            <tr>
              <td align="right" class="ttd"><?=$Z_TRANS->value('title_question')?>:<span class="require">*</span></td>
              <td>

              	<select name="cboQuestion" style="width:411px; height:24px;">
                 <?php foreach($sec_question->result() as $rowSec):?>
              	  	<? if(isset($_POST['cboQuestion']) && $rowCity->city_id==set_value('cboQuestion')){?><option value="<?=$rowSec->sec_question_id;?>" selected="selected"><?=htmlspecialchars($rowSec->sec_question_text);?></option>        
                    <? }else?><option value="<?=$rowSec->sec_question_id;?>"><?=$rowSec->sec_question_text;?></option>
                 <?php endforeach;?>
                </select>
              </td>
            </tr>
            
            <tr>
              <td align="right" class="ttd"><?=$Z_TRANS->value('title_answer')?>:<span class="require">*</span></td>
              <td><input name="txtAn" type="text" class="textbox" id="txtAn" style="width:411px;" value="<?php if(isset($_POST['txtAn']))echo set_value('txtAn'); ?>"/></td>
            </tr>
            <tr>
              <td>&nbsp;</td>
              <td>              
				<?php /** Validate captcha */
				if (!empty($_REQUEST['captcha']) && isset($captcha_message)) echo $captcha_message;?>
				<img src="<?=base_url();?>captcha/captcha.php" id="captcha" alt="" width="284" height="82" GALLERYIMG="no" />
              </td>
            </tr>
            <tr>
              <td align="right" class="ttd"><?=$Z_TRANS->value('title_type_the_code_shown')?>:<span class="require">*</span></td>
              <td class="ttd"><input name="captcha" type="text" class="textbox" id="captcha-form" />
              <div style="width:168px; float:right; padding-top:5px;">
              <a href="#" onclick="
                            document.getElementById('captcha').src='<?=base_url();?>captcha/captcha.php?'+Math.random();
                            document.getElementById('captcha-form').focus();"
                            id="change-image"><img src="<?=base_url();?>images/arrow_circle_double.png" alt="" width="16" height="16" align="absmiddle" /></a> <?=$Z_TRANS->value('Try_a_new_code')?></div>
              </td>
            </tr>
            <tr>
              <td>&nbsp;</td>
              <td height="50"><input type="submit" name="Registration" id="Registration" value="<?=$Z_TRANS->value('title_registration')?>" />
              or <a href="<?=site_url('users/signin');?>"><?=$Z_TRANS->value('title_singin_for_zuka')?></a></td>
            </tr>
            <tr>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
            </tr>
          </table>
		</form>
    </div>
    
            </td>
        <td width="254" valign="top">
			<?php include APPPATH."views/templates/common/right_content.php"; ?>
         </td>
      </tr>
  </table>
</div>



